<?php	
require_once('../load.php');

	$ar = $sql->QueryGetFetch("select `termin` from `seans` where id_film='".$_GET['id']."'");
	echo '<br />Daty i godziny wyświetlania filmy: <br /><br /><select id="daty" multiple=multiple style="width: 200px; height: 200px;">';
	
		foreach ($ar as $k => $v){
			echo "<option value='".$v['termin']."'>".$v['termin']."</option>";
		}
	echo '</select>';	
?>